package com.songcha.library_database_douyue.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class BookReadProgressDBBean {
    @Id(autoincrement = true)
    private Long id=null;
    private String bookId="";
    private int userId=0;
    private int currentChapter=1;
    private int beginPosition;
    private int endPosition;
    private int chapterSize;
    @Generated(hash = 1279397829)
    public BookReadProgressDBBean(Long id, String bookId, int userId,
            int currentChapter, int beginPosition, int endPosition,
            int chapterSize) {
        this.id = id;
        this.bookId = bookId;
        this.userId = userId;
        this.currentChapter = currentChapter;
        this.beginPosition = beginPosition;
        this.endPosition = endPosition;
        this.chapterSize = chapterSize;
    }
    @Generated(hash = 515242644)
    public BookReadProgressDBBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getBookId() {
        return this.bookId;
    }
    public void setBookId(String bookId) {
        this.bookId = bookId;
    }
    public int getUserId() {
        return this.userId;
    }
    public void setUserId(int userId) {
        this.userId = userId;
    }
    public int getCurrentChapter() {
        return this.currentChapter;
    }
    public void setCurrentChapter(int currentChapter) {
        this.currentChapter = currentChapter;
    }
    public int getBeginPosition() {
        return this.beginPosition;
    }
    public void setBeginPosition(int beginPosition) {
        this.beginPosition = beginPosition;
    }
    public int getEndPosition() {
        return this.endPosition;
    }
    public void setEndPosition(int endPosition) {
        this.endPosition = endPosition;
    }
    public int getChapterSize() {
        return this.chapterSize;
    }
    public void setChapterSize(int chapterSize) {
        this.chapterSize = chapterSize;
    }
}
